<nb-card>
  <nb-card-header>绑定费率</nb-card-header>
  <nb-card-body style="max-height: 600px;overflow: auto;min-width: 1200px">
    <div class="row">
      <div class="col-md-6">
        <form>
          <div class="form-group row">
            <label class="label col-sm-3 col-form-label">
              单元名称
            </label>
            <div class="col-sm-9">
              <input type="text" nbInput fullWidth [value]="data.unitName" disabled>
            </div>
          </div>
          <div class="form-group row">
            <label class="label col-sm-3 col-form-label">
              已选费率
            </label>
            <div class="col-sm-9">
              <nb-list>
                <nb-list-item *ngFor="let item of selectedItems">
                  {{item.name}}
                </nb-list-item>
              </nb-list>
            </div>
          </div>
          <div class="form-group row">
            <div class="offset-sm-3 col-sm-9">
              <button nbButton status="info" (click)="save()">保存</button>
            </div>
          </div>
        </form>
      </div>
      <div class="col-md-6">
        <ng2-smart-table [settings]="settings" [source]="source">
        </ng2-smart-table>
      </div>
    </div>
  </nb-card-body>
</nb-card>
